home *** CD-ROM | disk | FTP | other *** search
/ Micro Dingo 39 / Micro_Dingo_39_CD1.mdx / Delires / Hentai / sim.swf / scripts / DefineButton2_788 / BUTTONCONDACTION on(release).as
Text File  |  2002-05-21  |  377b  |  24 lines

  1. on(release){
  2.    bet = 100;
  3.    if(money >= bet)
  4.    {
  5.       luck = random(4);
  6.       if(luck == 1)
  7.       {
  8.          gotoAndPlay(3712);
  9.       }
  10.       else if(luck == 2)
  11.       {
  12.          gotoAndPlay(3722);
  13.       }
  14.       else if(luck == 3)
  15.       {
  16.          gotoAndPlay(3732);
  17.       }
  18.       else if(luck == 0)
  19.       {
  20.          gotoAndPlay(3742);
  21.       }
  22.    }
  23. }
  24.